### Parameters

| Parameter | Type | Description | Default |
|-----------|------|-------------|---------|
| `collection_name` | `str` | Name of the MongoDB collection | `"memory"` |
| `db_url` | `Optional[str]` | MongoDB connection URL | `None` |
| `db_name` | `str` | Name of the database | `"agno"` |
| `client` | `Optional[MongoClient]` | Pre-configured MongoDB client | `None` |